import Vue from 'vue'
import Router from 'vue-router'
import login from '@/pages/login'
import addPlan from '@/pages/addPlan'
import workProject from '@/pages/workProject'

Vue.use(Router)

export default new Router({
  routes: [ 
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/addPlan',
      name: 'addPlan',
      component: addPlan
    },
    {
      path: '/workProject',
      name: 'workProject',
      component: workProject
    }
  ]
})
